<script setup>
const tableColumn = ref([
  {
    label: '仓库编号',
    prop: 'WareID'
  },
  {
    label: '仓库名称',
    prop: 'WareHouseName'
  },
  {
    label: '数量',
    prop: 'Quantity'
  },
  {
    label: '安全存量',
    prop: 'SafeStock'
  }
])

defineProps({
  data: {
    type: Array,
    default() {
      return []
    }
  }
})
</script>

<template>
  <div>
    <ps-table :data="$props.data" :tableColumn="tableColumn" :pageSize="10" />
  </div>
</template>

<style scoped lang="scss"></style>
